package com.joysuch.wwyt.patrol.entity.vo;

import lombok.Data;

import java.util.List;

@Data
public class WebTaskRecordDeviceVo {
    private Long recordItemId;
    private Long checkDeviceId;
    private String deviceName;
    // 设备名称[编号]
    private String nameAndCode;

    private List<WebTaskRecordItemVo> itemList;

    public WebTaskRecordDeviceVo() {
    }

    public WebTaskRecordDeviceVo(Long recordItemId, Long checkDeviceId, String deviceName, String nameAndCode) {
        this.recordItemId = recordItemId;
        this.checkDeviceId = checkDeviceId;
        this.deviceName = deviceName;
        this.nameAndCode = nameAndCode;
    }

    public WebTaskRecordDeviceVo(Long recordItemId, Long checkDeviceId, String deviceName, List<WebTaskRecordItemVo> itemList) {
        this.recordItemId = recordItemId;
        this.checkDeviceId = checkDeviceId;
        this.deviceName = deviceName;
        this.itemList = itemList;
    }
}
